#include "gaussdlg.h"
#include "ui_gaussdlg.h"

GaussDlg::GaussDlg(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::GaussDlg)
{
    ui->setupUi(this);
}

GaussDlg::~GaussDlg()
{
    delete ui;
}

void GaussDlg::changeEvent(QEvent *e)
{
    QDialog::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        ui->retranslateUi(this);
        break;
    default:
        break;
    }
}

double GaussDlg::sigma(){
	return (double)(ui->horizontalSlider->value()) / (3.0/100);
}
